var j = jQuery.noConflict();
    j(window).load(function() {
    j('#slider').nivoSlider({
        effect:"fade",
   	  animSpeed:300,
    	pauseTime:10000,
    	directionNav:true, //Next Prev
    	directionNavHide:true, //Only show on hover
    	controlNav:true, //1,2,3...
    	keyboardNav:true, //Use left right arrows
    	pauseOnHover:true, //Stop animation while hovering
    	manualAdvance:false, //Force manual transitions
    	captionOpacity:0.8, //Universal caption opacity
      beforeChange: function(){},
      afterChange: function(){},
      slideshowEnd: function(){}, //Triggers after all slides have been shown
      lastSlide: function(){}, //Triggers when last slide is shown
      afterLoad: function(){} //Triggers when slider has loaded
		});
    });